package com.zzc.mapper;

import com.select.pojo.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;


@Mapper
public interface StudentMapper {
    @Select("select * from student where stu_account=(select stu_account from student_elective where cou_id=#{cou_id})")
    public List<Student> findstu(String couId);
}
